package com.ly.im.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ly.im.pojo.User;
import com.ly.im.repository.UserRepository;
import com.ly.im.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @Author LY
 * @create 2024/2/2 11:20
 * @Description 用户service实现类
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserRepository, User> implements UserService {

    @Override
    public User getUserByUserName(String username) {
        return baseMapper.getUserByUserName(username);
    }
}
